<%@ page pageEncoding="UTF-8" language="java"%>
<%@ include file="/resource.jsp"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Login</title>
</head>

<body>
	<h1>登录页面${not empty message ? "----" : ""}${message}</h1>
	<form:form action="${APP_URL}/login" modelAttribute="user" method="post">
		用户名：<form:input path="account" /><form:errors path="account" cssClass="error" />
		<br />
		密码：<form:password path="password" /><form:errors path="password" cssClass="error" />
		<br />
		<form:button name="button">提交</form:button>
	</form:form>
</body>
</html>